package xyz.vmcserver.wdibbs.model.service;

import xyz.vmcserver.wdibbs.model.po.ArticleView;
import xyz.vmcserver.wdibbs.model.vo.Article;

import java.util.List;

public interface ArticleService {

    void postArticle(Article article);

    List<ArticleView> latestArticles(Integer page);

    Integer queryArticleNumber();

    List<ArticleView> searchArticleByKeyAndValuePages(String value ,Integer page ,String sortType,String sortValue);

}
